using System;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace Bookvar.ObjectModel
{
    /// <summary>
    /// The main topic.
    /// </summary>
    [DataContract]
    [Serializable]
    public class MainTopic : Topic
    {
        private string thumbnail;

        public MainTopic()
        {
            Name = "Main Topic";
        }
        //TODO: Remove this constructor together with Topic copy constructor - using the Clone() checkbox
        public MainTopic(Topic topic):base(topic)
        { }


        [XmlIgnore]
        public string Thumbnail
        {
            get { return thumbnail; }
            set { thumbnail = value; }
        }

        [XmlIgnore]
        public override bool IsMainTopic
        {
            get { return true; }
        }
    }
}